<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');

Route::get('lists', 'index/lists');
Route::post('have', 'index/have');
Route::post('findsome', 'index/findsome');

//合并接口
Route::post('bigshow', 'index/bigshow');
//首页订单问题
Route::post('bignewpaynum','index/bignewpaynum');

Route::post('activitietitle','index/activitietitle');
Route::post('ordersum','index/ordersum');
Route::POST('countdown','index/countdown');
//finishsum 满团数
Route::POST('finishsum','index/finishsum');
//groupsum 总团数
Route::POST('groupsum','index/groupsum');
//fg 因为入参是u和i开头
Route::POST('ui','index/ui');

//4 5 满团数 总团数 theme表 ui
Route::POST('fullgourp','index/fullgourp');

// 6准客 ut
Route::POST('zhuncus','index/zhuncus');
Route::POST('ut','index/ut');
//7访客 fanssum
Route::POST('fanssum','index/fanssum');

//8 9 新客数量 老客数量
Route::POST('newoldcus','index/newoldcus');

//已支付 未支付对比情况
Route::POST('payon','index/payon');

//未支付 未支付对比情况
Route::POST('payoff','index/payoff');

//Ranking
Route::POST('cusanking','index/cusanking');

Route::POST('worker','index/worker');
//fan表 求拉新数
Route::POST('fans','index/fans');

//员工排行
Route::POST('workertop','Index/workertop');


//团队排行
Route::POST('grouptop','Index/grouptop');

//设置时间
Route::POST('settime','Index/settime');
//获取时间
Route::POST('fetchtime','Index/fetchtime');
//IO磁盘文件
Route::POST('iotimeset','Index/iotimeset');
//IO磁盘时间获取
Route::POST('iotimeget','Index/iotimeget');

//测试php函数，方便以后加功能
Route::POST('testfun','Index/testfun');
//红包排行
Route::POST('redtop','Index/redtop');
//事件列表 eventslist
Route::POST('eventslist','Index/eventslist');

//获取
Route::POST('codeget','Index/codeget');

Route::POST('findbyopen','Index/findbyopen');

Route::POST('findbysn','Index/findbysn');

Route::POST('findbyrr','Index/findbyrr');

Route::POST('findbthemebyid','Index/findbthemebyid');


Route::POST('testime','Index/testime');

Route::get('test', 'index/test');


Route::POST('yuyinlist', 'index/yuyinlist');

Route::POST('yuyinorderlist', 'index/yuyinorderlist');

Route::POST('yuyinone', 'index/yuyinone');





Route::POST('yutest', 'index/yutest');

Route::get('t3', 'index/t3');

Route::POST('playspeed', 'index/playspeed');

Route::POST('onetts', 'index/onetts');

Route::POST('fetchpnames', 'index/fetchpnames');

Route::GET('phpfun', 'index/phpfun');

Route::GET('haibao', 'index/haibao');
Route::GET('haibao2', 'index/haibao2');

Route::GET('haibao_001', 'index/haibao_001');

//2025-8-1 抢购海报
Route::GET('haibao_rush', 'IndexRush/haibao_rush');

Route::GET('findconfig', 'index/findconfig');
//findhaibao_config_t
Route::GET('findhaibao_config_t', 'index/findhaibao_config_t');
//the_worklist
Route::GET('the_worklist', 'index/the_worklist');
//post edit_work_by_openid
Route::POST('edit_work_by_openid', 'index/edit_work_by_openid');

Route::POST('edit_workers_byopenid','index/edit_workers_byopenid');

Route::POST('del_workers_byopenid','index/del_workers_byopenid');


Route::GET('gettidby39like', 'index/gettidby39like');

Route::GET('getpaychoice', 'index/getpaychoice');

//
Route::POST('phpabcoupons','Index/phpabcoupons');



Route::POST('oafpcreate','Index/oafpcreate');

//useractivity
Route::GET('useractivity', 'index/useractivity');

//oneorder
Route::POST('oneorder','Index/oneorder');
Route::POST('moreorders','Index/moreorders');

Route::GET('findOrderBytid2', 'index/findOrderBytid2');
//findRecordByxx
Route::GET('findRecordByxx', 'index/findRecordByxx');

Route::GET('getapp', 'index/getapp');
Route::GET('getwechats', 'index/getwechats');



Route::GET('getappbypid', 'index/getappbypid');
//findappbypid
Route::GET('findappbypid', 'index/findappbypid');

Route::GET('getneworder', 'index/getneworder');

//抢购
Route::GET('findRecordByxx_rush', 'IndexRush/findRecordByxx_rush');
//todo record写好了 等待写订单
Route::GET('findOrderBytid2_rush', 'IndexRush/findOrderBytid2_rush');
//
Route::GET('getneworder_rush', 'IndexRush/getneworder_rush');

Route::GET('getneworder_rush2', 'IndexRush/getneworder_rush2');


//findpaymsgbypid 主要给夏天用的
Route::GET('findpaymsgbypid', 'Index/findpaymsgbypid');

//
Route::GET('findaidsbypid', 'Index/findaidsbypid');
Route::GET('findaidsbypid_rush', 'IndexRush/findaidsbypid_rush');

//findwqdifforder
Route::GET('findwqdifforder', 'Index/findwqdifforder');


//同平台拷贝 拼团
Route::GET('samecopy', 'Index/samecopy');
//
//同平台拷贝 抢购
Route::GET('samecopy_rush', 'IndexRush/samecopy_rush');

//PC 活动订单分析展示怕影响；虽然写在了 rush控制器里 但是没加rush
Route::GET('showptqg','IndexRush/showptqg');

//放java了
//Route::GET('diffcopy','Index/diffcopy');

//findNpidbyoa  平台的pid
//最终是了为return  pid + aid   diffcopy_pidaid

//tuu
Route::GET('tuu','IndexRush/tuu'); //测试get类型接口
//同步订单数据 pt 订单状态+团员状态，核销状态，退款状态等
Route::GET('synorderbynid','Index/synorderbynid');

Route::GET('synorderbynid_rush','IndexRush/synorderbynid_rush');
//findNpidbyoa_rush
Route::GET('findNpidbyoa_rush','IndexRush/findNpidbyoa_rush');  //改名了 不光是pid  而且是aid
//findpidaidforcopy_rush
Route::GET('findpidaidforcopy_rush','IndexRush/findpidaidforcopy_rush');
//findpidaidforcopy
Route::GET('findpidaidforcopy','IndexRush/findpidaidforcopy');


//bug findpidaidforcopy_rush

Route::GET('findpidaidforfengbyphone','Index/findpidaidforfengbyphone');
Route::GET('findpidaidforfengbyphoneaid','Index/findpidaidforfengbyphoneaid');

//findpidaidforfengbyphoneaid_rush
Route::GET('findpidaidforfengbyphoneaid_rush','IndexRush/findpidaidforfengbyphoneaid_rush');

//findphonebyaid post
Route::POST('findphonebyaid','Index/findphonebyaid');
Route::GET('phone3','Index/phone3');
Route::GET('phone3_rush','IndexRush/phone3_rush');

//findpidaidforfengbyphone_rush
Route::GET('findpidaidforfengbyphone_rush','IndexRush/findpidaidforfengbyphone_rush');

//cstime
Route::GET('cstime','Index/cstime');
//小秦find抽findchouuser
Route::GET('findchouuser','Index/findchouuser');

//findaidsbyphone
Route::GET('findaidsbyphone','Index/findaidsbyphone');


//pc

//findformsetbypidandaid
Route::GET('findformsetbypidandaid','Indexpc/findformsetbypidandaid');
Route::GET('findformsetbypidandaid_rush','IndexpcRush/findformsetbypidandaid_rush');

//findthemeinfobypidaid_v1
Route::GET('findthemeinfobypidaid','Indexpc/findthemeinfobypidaid');
Route::GET('findthemeinfobypidaid_rush','Indexpc/findthemeinfobypidaid_rush');


//findconfigbypidaid
Route::GET('findconfigbypidaid','Indexpc/findconfigbypidaid');
//todo

//pcfindbaseinfo  基本信息
Route::GET('pcfindbaseinfo','Indexpc/pcfindbaseinfo');
//抢购 基础信息
Route::GET('pcfindbaseinfo_rush','IndexpcRush/pcfindbaseinfo_rush');

//分享设置
Route::GET('pcfindshareinfo','Indexpc/pcfindshareinfo');
//拼团分享
Route::GET('pcfindshareinfo_rush','IndexpcRush/pcfindshareinfo_rush');



//拼团设置金额
Route::GET('pcfindptinfo','Indexpc/pcfindptinfo');
//抢购金额
Route::GET('pcfindptinfo_rush','IndexpcRush/pcfindptinfo_rush');

//弹幕+跑马灯设置
Route::GET('pcfinddmpmd','Indexpc/pcfinddmpmd');

//活动图片
Route::GET('pcfindthemepic','Indexpc/pcfindthemepic');

//分销红包+阶梯红包
Route::GET('pcfindredall','Indexpc/pcfindredall');
//抢购
Route::GET('pcfindredall_rush','IndexpcRush/pcfindredall_rush');

//按钮文字
Route::GET('pcfindbutton','Indexpc/pcfindbutton');
//抢购按钮
Route::GET('pcfindbutton_rush','IndexpcRush/pcfindbutton_rush');

//数据伪造
//pcfindmakedata todo
Route::GET('pcfindmakedata','Indexpc/pcfindmakedata');

//pcfindbigpage
Route::GET('pcfindbigpage','Indexpc/pcfindbigpage');

//插播一个 。。pcfindordernum
Route::GET('pcfindordernum','Indexpc/pcfindordernum');

//ims_water_salegroup3_config  直接给java-vue调
Route::GET('pcfindgroup','Indexpc/pcfindgroup');
//抢购的分组回显
Route::GET('pcfindgroup_rush','IndexpcRush/pcfindgroup_rush');

//oneworkergroupset
//单个员工万能设置-拼团
Route::GET('oneworkergroupset','Index/oneworkergroupset');
//todo 抢购
Route::GET('oneworkergroupset_rush','Index/oneworkergroupset_rush');


Route::GET('oneordercx', 'index/oneordercx');

Route::GET('oneordercx_rush', 'indexRush/oneordercx_rush');


Route::GET('lglog001', 'index/lglog001');

//tx java-to-php 退款
Route::GET('tx', 'index/tx');
Route::GET('tx2', 'index/tx2');



//the_worklist_rush
Route::GET('the_worklist_rush','IndexRush/the_worklist_rush');

//testfindboss
Route::GET('testfindboss','Index/testfindboss');
//testfindpaymsg
Route::GET('testfindpaymsg','Index/testfindpaymsg');

//testfindboss_rush
Route::GET('testfindboss_rush','IndexRush/testfindboss_rush');


//cxwn
Route::GET('api_data_set','IndexRush/api_data_set');

Route::GET('api_data_get','IndexRush/api_data_get');

//cx php obs
Route::GET('phpobs','Index/phpobs');

//getOrderByOid 没用查出来 多条
Route::GET('getOrderByOid','Index/getOrderByOid');

//findRecordByOrderid
Route::GET('findRecordByOrderid','Index/findRecordByOrderid');

//抢购--  略 已经有写过了 干脆直接用
//Route::Get('findRecordByOrderid_rush','IndexRush/findRecordByxx_rush');


//能触发一下控制器就行。插入DB 一条记录
Route::POST('timeorderflag','IndexRush/timeorderflag');

//findOrderBytid2_v2  给java项目用。直接根据CX的mppay入参tid2 拿到最新的订单-record 对象（含 pid noid 是否成团等信息）
Route::GET('findOrderBytid2_v2','Index/findOrderBytid2_v2');

//payfznotify  java的支付回调-FZ-的信息
Route::POST('payfznotify','Indexpc/payfznotify');

//2025-8-22 新增接口 phpabc_buynum_notold_c
Route::POST('phpabc_buynum_notold_c','Index/phpabc_buynum_notold_c');
//phpabc_invitenum_new_c
Route::POST('phpabc_invitenum_new_c','Index/phpabc_invitenum_new_c');

//xtfindbossphone
Route::GET('xtfindbossphone','Index/xtfindbossphone');
//xtfindpaymsg
Route::GET('xtfindpaymsg','Index/xtfindpaymsg');

//findshopsopt  shop 和 option 是 身份选择的的回显； 所以是opt 加起来是 shopopt
//新老生回显
Route::GET('findshopsopt','Indexpc/findshopsopt');

///  拼团查一个活动（pid aid ）有没有记录 ding 就是订单 r 就是r
Route::GET('count','Indexpc/countdingr');

//findThemebyid
Route::GET('xufei','Index/xufei');

Route::GET('test_xufei','Index/test_xufei');

//查交易 -order的
Route::GET('jiaoyi','Index/jiaoyi');
//
Route::GET('xiav1','Indexpc/xiav1');

//getneworder_test

Route::GET('getneworder_test','Index/getneworder_test');

//getneworder_fix  帮小秦 修60个订单
Route::GET('getneworder_fix','Index/getneworder_fix');

//小秦108 109订单问题 估计就是冻结了findobj_forfix
Route::GET('findobj_forfix','Index/findobj_forfix');

//todo
//finddidpid_byphone  PC端账号（主要是手机号）查此老板做过的所有活动的-所有类型
Route::GET('finddidpid_byphone','IndexRush/finddidpid_byphone');

//抢购多规格
Route::POST('qgm','IndexRush/qgm');

//抢购多规格回显 manyshow_rush
//抢购多规格设置 manyset_rush
Route::GET('manyshow_rush','IndexRush/manyshow_rush');
Route::POST('manyset_rush','IndexRush/manyset_rush');

//gong_info3
Route::get('gong_info3','Indexpc/gong_info3');
Route::get('gong_info4','Indexpc/gong_info4');

//支付-团状态信息，未来调团t_tyorderlist ty
Route::GET('t_tyorderlist','Index/t_tyorderlist');


Route::GET('uptuanzhang','Index/uptuanzhang');
Route::GET('tiaotuan','Index/tiaotuan');

//拼团的订单通知
Route::GET('totellphp','Index/totellphp');

//更具openid 查昵称需求 t_find_f_name
Route::get('t_find_f_name','Indexpc/t_find_f_name');

//测试test_tologtiaotuan
//可以测试php的curl到java 类似apifox；但是因为saas-java没有部署。暂时测php的入参。和 log
Route::get('test_tologtiaotuan','Index/test_tologtiaotuan');

Route::get('findrecordbykey','Index/findrecordbykey');




